<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <script>
    /* 
      touchstart
        手指放在屏幕上
      touchmove
        手指在屏幕上（贴住屏幕）滑动
      touchend
        手指离开屏幕
      touchcancel (不重要)
    
    */

    setTimeout(() => {
      alert('附件四阿哥福大')
    }, 5000);
    document.ontouchcancel = function () {
      console.log("触摸取消")
    }
  </script>
</body>
</html>